import gconf

client = gconf.client_get_default()
client.set_value('/apps/equ/p_rock','Rock')
client.set_value('/apps/equ/p_jazz','Jazz')
client.set_value('/apps/equ/p_techno','Techno')
client.set_value('/apps/equ/p_flat','Flat')
client.set_value('/apps/equ/use_preset','Flat')

# Preset Rock
x = gconf.Value(gconf.VALUE_LIST)
x.set_list_type(gconf.VALUE_INT)
rocks = [91,67,39,36,37,47,53,63,67,75]
l = []

for i in range(10):
	valor = gconf.Value(gconf.VALUE_INT)
	valor.set_int(rocks[i])
	l.append(valor)

x.set_list(l)
client.set('/apps/equ/v_rock', x)
# / Preset Rock

# Preset Jazz
x = gconf.Value(gconf.VALUE_LIST)
x.set_list_type(gconf.VALUE_INT)
rocks = [1,7,9,6,7,7,3,3,7,5]
l = []

for i in range(10):
	valor = gconf.Value(gconf.VALUE_INT)
	valor.set_int(rocks[i])
	l.append(valor)

x.set_list(l)
client.set('/apps/equ/v_jazz', x)
# / Preset Jazz

# Preset Techno
x = gconf.Value(gconf.VALUE_LIST)
x.set_list_type(gconf.VALUE_INT)
rocks = [1,7,9,6,7,7,3,3,7,5]
l = []

for i in range(10):
	valor = gconf.Value(gconf.VALUE_INT)
	valor.set_int(rocks[i])
	l.append(valor)

x.set_list(l)
client.set('/apps/equ/v_techno', x)
# / Preset Techno


# Preset Flat
x = gconf.Value(gconf.VALUE_LIST)
x.set_list_type(gconf.VALUE_INT)
rocks = [50,50,50,50,50,50,50,50,50,50]
l = []

for i in range(10):
	valor = gconf.Value(gconf.VALUE_INT)
	valor.set_int(rocks[i])
	l.append(valor)

x.set_list(l)
client.set('/apps/equ/v_flat', x)
# / Preset Flat
